<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[id]" value="{$row.id}">
    <div class="form-group">
        <label for="c-group_id" class="control-label col-xs-12 col-sm-2">{:__('合伙人级别')}:</label>
        <div class="col-xs-12 col-sm-4">
            {$groupList}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('省市区镇')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area,town">
                <select class="province form-control" name="row[province_id]" data-url="retail/partner/cxselect?area_code=0">
                    <option value="{$row.province_id|htmlentities}"></option>
                </select>
                <select class="city form-control" name="row[city_id]" data-query-name="area_code" data-url="retail/partner/cxselect">
                    <option value="{$row.city_id|htmlentities}"></option>
                </select>
                <select class="area form-control" name="row[area_id]" data-query-name="area_code" data-url="retail/partner/cxselect">
                    <option value="{$row.area_id|htmlentities}"></option>
                </select>
                <select class="town form-control" name="row[town_id]" data-query-name="area_code" data-url="retail/partner/cxselect">
                    <option value="{$row.town_id|htmlentities}"></option>
                </select>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">{:__('原始股%')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-nickname" data-rule="required" class="form-control" name="row[ys_conf]" type="text" value="{$row.ys_conf|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-email" class="control-label col-xs-12 col-sm-2">{:__('季度分红%')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-email" data-rule="" class="form-control" name="row[jd_conf]" type="text" value="{$row.jd_conf|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('城市加权分红%')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-mobile" data-rule="" class="form-control" name="row[cs_conf]" type="text" value="{$row.cs_conf|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
